<?php if ($error):?>
<div id="message" class="error fade"><p><strong><?php echo $error?></strong></p></div>
<?php elseif ($message):?>
<div id="message" class="updated fade"><p><strong><?php echo $message?></strong></p></div>
<?php endif;?>

<style>
fieldset.options {
    clear:both;
    border:1px solid #ccc;
}
fieldset.options legend {
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 22px;
}

div.album {
    float:left;
    width:200px;
    height:150px;
    margin-right:15px;
}
div.album td {
    font-size:0.9em;
}
div.album-hidden img {
    opacity:0.5;
}
</style>


<div class="wrap">
<h2 id="write-post">Facebook Plugin for WordPress</h2>
<p>
This plugin will retrieve your Facebook photos and allow you to easily post them to your WordPress powered 
blog. 
</p>
<p><strong>Installation and Usage:</strong> Just follow the onscreen prompts to link this plugin to your Facebook account. 
To insert photos into your posts, just click the <em>Photos</em> tab in the edit screen and then click on a thumbnail. </p>

<div  style="float:right;width:250px;background:#eee;padding:10px;font-size:0.9em;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
If you find this plugin helpful, please consider donating a few dollars to support this plugin. Thanks!
<br /><br />
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBkW0XfGZbagp/PWqgvKh7s4nD3xMUnnv9i84qO8o/3ZUT4X/rZsZZ/2v0KF1iViatR7woW9g/rXc+jR4ZxRiM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>
</div>


<p>
This plugin is provided by <a href="http://www.tantannoodles.com">TanTanNoodles</a> 
and licensed free of charge for you to use under the GPL.
This plugin is <em>unsupported</em> and comes with no official technical support. 
</p>
<p>
You can check the following pages for the latest updates to this plugin, along with any unofficial technical support:<br />
<br />
<strong>Release Page:</strong> <a href="http://tantannoodles.com/toolkit/facebook-photos/">tantannoodles.com/toolkit/facebook-photos/</a><br />
<strong>Project Page:</strong> <a href="http://code.google.com/p/facebook-photos/">code.google.com/p/facebook-photos/</a><br />
<strong>Support Group:</strong> <a href="http://www.facebook.com/group.php?gid=2245630666">facebook.com/group.php?gid=2245630666</a><br />
</p>
<p>
<strong>RSS Updates:</strong> Subscribe to the <a href="http://feeds.feedburner.com/TanTanToolkit">TanTanToolkit feed</a> and get notified when there's an update to this plugin.
</p>


<?php 
if (!$session) { // authenticate
    include(dirname(__FILE__).'/admin-options-auth.html');
} else { // general settings
    include(dirname(__FILE__).'/admin-options-facebooksettings.html');
} 
?>

</div>